package com.cook.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @TableName posts
 */
@TableName(value ="posts")
@Data
public class Posts implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long postId;

    private Long userId;

    private String content;

    private Object imageUrls;

    private Date createdAt;

    private static final long serialVersionUID = 1L;
}